package com.matt.controller.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.util.Date;
import java.util.List;

@Data
@ApiModel("宝宝")
@EqualsAndHashCode(callSuper = false)
public class ChildrenPO {


    @ApiModelProperty(" varchar(50)  COMMENT '宝宝姓名'")
    private String name;
    private String areaId;

    private String childBigName;

    private String childNickName;
    @ApiModelProperty(" varchar(32)  COMMENT ' 学籍号:  行政区划代码+园区顺序号+年份+月份+入园顺序号+性别'")
    private String code;

    @ApiModelProperty(" varchar(50)  COMMENT '宝宝昵称'")
    private String nickName;

    @ApiModelProperty(" int default 0  COMMENT '宝宝性别 ：0：女，1：男'")
    private Integer gender;

    @ApiModelProperty(" varchar(255)  COMMENT '地址'")
    private String address = "";
    @JsonFormat(shape = JsonFormat.Shape.NUMBER, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(" datetime COMMENT '宝宝生日'")
    private Date birthday;
    @ApiModelProperty(" datetime COMMENT '对应crm客户id'")
    private String crmClienteleId;

    @ApiModelProperty(" varchar(50)  COMMENT '体重'")
    private String weight;

    @ApiModelProperty(" varchar(50)  COMMENT '身高'")
    private String height;

    @ApiModelProperty(" varchar(50)  COMMENT '头围'")
    private String header;

    @ApiModelProperty(" varchar(255)  COMMENT '备注'")
    private String remark = "";

    @ApiModelProperty(" varchar(512)  COMMENT '头像地址'")
    private String imgUrl;

    @ApiModelProperty("血型")
    private String  bloodType;

    @ApiModelProperty("国籍")
    private String nationality;

    @ApiModelProperty("目标幼儿园")
    private String targetGarden;

    @ApiModelProperty("户籍所在地")
    private String registerResidence;

    @ApiModelProperty("户籍类型   1：本片  2：本区外片 3：本市外区  4：外籍  5：港澳台")
    private String registerType;

    @ApiModelProperty("所处语言环境")
    private String languageEnvironment;

    @ApiModelProperty("身份证号")
    private String idCard;

    @ApiModelProperty("摄像头权限有效时间")
    private String cameraValidTo;

    @ApiModelProperty(" varchar(32)  COMMENT '录入员工id'")
    private String staffId;

    @ApiModelProperty("托班有效期")
    private Date nursyValidTo;

    List<ParentUserPO> linkMans;


    @ApiModelProperty("过敏史")
    private String allergy;


    @ApiModelProperty("疾病史")
    private String diseasesHistory;


    @ApiModelProperty("户口所在地")
    private String place;

    @ApiModelProperty("优惠卷码")
    private String couponCard;

    @ApiModelProperty(  " 宝宝年龄")
    private Integer childAge;

//    @ApiModelProperty("优惠卷码")
//    private Date useTime;


}
